<template>
  <bannerVue :min="1" :max="6" v-model="msg" />
  <!-- 一级路由挂载点 -->
  <router-view />
</template>

<script>
import bannerVue from './banner.vue'
import { ref } from 'vue'
export default {
  components: {
    bannerVue
  },
  setup () {
    const msg = ref(2)
    setTimeout(() => {
      msg.value = 5
    }, 5000)
    return {
      msg
    }
  }
}
</script>
<style lang="less" scoped>
</style>
